package ch.zbw.pra.sysventory.ui;

import java.awt.Dimension;

import javax.swing.JLabel;

public class InfoLabel{
	
	private static JLabel label;
	
	public InfoLabel() {
		label = new JLabel();
		label.setHorizontalAlignment(JLabel.CENTER);
		label.setPreferredSize(new Dimension(350, 25));
	}
	
	public static void setTextInfoLabel(String infoText) {
		label.setText(infoText);
	}
	
	public JLabel getInfoLabel() {
		return label;
	}

}
